@layout("/common/_container.html"){
<div class="row">
	<div class="col-sm-12">
		<div class="ibox float-e-margins">
			<div class="ibox-title">
				<h5>答卷配置管理</h5>
			</div>
			<div class="ibox-content">
				<div id="poetryForm">
				<div class="row row-lg">
					<div class="col-sm-12">
						<div class="row">
							<div class="col-sm-5">
								<div class="input-group">
									<div class="input-group-btn">
										<button data-toggle="dropdown"
											class="btn btn-white dropdown-toggle" type="button">答卷编号
										</button>
									</div>
									<select class="form-control">
										<option value="">请选择</option> @for(goods in goodsList){
										<option value="${goods}">${goods}</option> @}
									</select>
								</div>
							</div>

							<div class="col-sm-3"><#button name="搜索" icon="fa-search"
								clickFun="Dict.search()"/></div>

						</div>
						<div class="row">
							<p></p>
						</div>
						<div class="row">
							<div class="col-sm-12">
								<div class="panel panel-default">
									<div class="panel-heading">基本设置</div>
									<div class="panel-body">
									<div class="row">
		       <div class="form-group col-sm-6">
                    <div class="input-group">
                        <span class="input-group-addon">标题</span>
                        <input class="form-control" id="title" name="title" type="text">
                    </div>
                </div>
				   <div class="form-group col-sm-6">
                    <div class="input-group">
                        <span class="input-group-addon">类型</span>
                       		<select class="form-control" id="poetryType" name="poetryType" >
										<option value="">请选择</option> 
										<option value="ZHSC">中华诗词之旅</option>
										<option value="WJ">大叔社区答卷简历</option>
							</select>
                    </div>
                </div>
</div>  
<div class="row">
  <div class="col-sm-6 col-md-6"> 
				  <input  name="files" type="file" class="file" data-language="zh"  data-show-upload="false" data-show-close="false"  data-show-remove="false" data-show-cancel="false" data-allowed-file-extensions='["jpg","png","jpeg","bmp","tif","gif","psd","ICO"]' data-show-caption="true"   data-msg-placeholder="请选择" accept="image/*"> 
  </div> 
       <div class="form-group col-sm-6">
                    <div class="input-group">
                        <span class="input-group-addon">分数限制</span>
                        <input class="form-control" type="text" name="awardValue" id="awardValue">
                    </div>
                </div>
</div>
</div>  
				
				</div>
							</div>
						</div>
						<div class="row">
							<div class="col-sm-12">
								<div class="panel panel-default">
									<div>
		<button type="button" class="btn btn-default pull-right"  style="margin-right:2px;margin-top:2px;margin-bottom:2px"  id="add_AnswerChild_btn" data-original-title="点击添加题目" data-toggle="tooltip" data-placement="left"><span class="glyphicon glyphicon-wrench"></span></button>
	</div>
									<div class="panel-heading">答题设置</div>
									<div class="panel-body" id="content">
									<div class="row">
							<div class="col-sm-12">
								<div class="panel panel-default">
									<div class="panel-heading"><span class="badge">1</span></div>
									<div class="panel-body">
									<div class="row">
		       <div class="form-group col-sm-4">
                    <div class="input-group">
                        <span class="input-group-addon">问题</span>
                        <input class="form-control" type="text" name="answer">
                    </div>
                </div>
                       <div class="form-group col-sm-5">
                       <div class="input-group">
                        <span class="input-group-addon">正确答案选项</span>
                       		<select class="selectpicker form-control" multiple  name="question" >
										<option value="A">A</option> 
										<option value="B">B</option>
										<option value="C">C</option>
											<option value="D">D</option> 
										<option value="E">E</option>
										<option value="F">F</option>
											<option value="G">G</option>
										<option value="H">H</option>
										<option value="I">I</option>
										<option value="J">J</option>
										<option value="K">K</option>
							</select>
                    </div>
                </div>
                     <div class="form-group col-sm-3">
                       <div class="input-group">
                        <span class="input-group-addon">分数</span>
                       	<input class="form-control" type="text" name="okValue">
                    </div>
                </div>
                </div>
                <div class="row">
                <div class="form-group col-sm-3">
                    <div class="input-group">
                        <span class="input-group-addon">选项</span>
                       		<select class="form-control" name="selectAnswer">
                       		            <option value="">请选择</option>
										<option value="A">A</option> 
										<option value="B">B</option>
										<option value="C">C</option>
											<option value="D">D</option> 
										<option value="E">E</option>
										<option value="F">F</option>
											<option value="G">G</option>
										<option value="H">H</option>
										<option value="I">I</option>
										<option value="J">J</option>
										<option value="K">K</option>
							</select>
                    </div>
                </div>
                   <div class="form-group col-sm-8">
                    <div class="input-group">
                        <span class="input-group-addon">答案</span>
                        <input class="form-control" type="text" name="inputAnswer">
                    </div>
                </div>
                 <div class="col-sm-1"> <button type="button" name="add_answer_btn" class="btn btn-default" data-original-title="添加答案" data-toggle="tooltip" data-placement="left"><i class="glyphicon glyphicon-plus"></i></button> </div>
                </div>
                </div>
                </div>
                </div>
</div>  
   
</div>  
				
				</div>
							</div>
						</div>
						   <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="Poetry.addSubmit()"/>
                    <#button btnCss="danger" name="清空" id="cancel" icon="fa-eraser" clickFun="alert('')"/>
                </div>
            </div>
					</div>
				</div>
			</div>
			</div>
		</div>
	</div>
</div>
<link href="${ctxPath}/static/css/fileinput.min.css" rel="stylesheet">
<link href="${ctxPath}/static/css/bootstrap-select.min.css" rel="stylesheet">
<script src="${ctxPath}/static/modular/packback/config/fileinput.min.js"></script>
<script src="${ctxPath}/static/modular/packback/config/zh.min.js"></script>
<script src="${ctxPath}/static/modular/packback/poetry/poetry.js"></script>
<script src="${ctxPath}/static/modular/packback/poetry/bootstrap-select.min.js"></script>
<script src="${ctxPath}/static/modular/packback/poetry/defaults-zh_CN.js"></script>

@}
